package com.mercury.dao;

import com.mercury.entity.OrderSO;
import com.mercury.entity.Pcorder;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface IPcorderDao {

    List<OrderSO> GetOrderDetail(
            @Param("WxOpenID") String WxOpenID,
            @Param("Name") String Name,
            @Param("ContactTel") String ContactTel,
            @Param("WXPaySerrial") String WXPaySerrial);

    void create(
            @Param("pcorder") Pcorder pcorder
    );

    Pcorder getOrderById(
            @Param("Guid") String guid
    );
}
